<%@page import="java.text.SimpleDateFormat"%>
<%@page import="Model.My.PurchaseUserView"%>
<%@page import="Model.My.PurchaseResultListView"%>
<%@page import="RssEasy.Core.HttpRequestHelper"%>
<%@page import="Model.Purchase.PurchaseList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
  PurchaseUserView pur = new PurchaseUserView(pageContext);
  pur.request();
  pur.select().where("id=?",pur.get("id")).get_first_rows();
%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>企企通-寻源管理-报名</title>
        <meta name="description" content="这里写网站内容描述" />
        <meta name="keywords" content="这里写关键词" />
        <meta name="Robots" contect="all">
        <link href="/css/reset.css" rel="stylesheet" type="text/css" />
        <link href="css/finding_details.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
        <h1>寻源管理</h1>
        <div id="detailsBox">
            <h2>参与项目：<%pur.write("name");%></h2>
            <table>
                <tr><td>项目名称：</td><td id="purchaseid"><%pur.write("name");%></td></tr>
                <tr><td>项目类别：</td><td purchase="<%pur.write("purchase_class");%>"></td></tr>
                <tr><td>所属行业：</td><td industry=""><%pur.write("name");%></td></tr>
                <%
                    String enddt =pur.get("enddt");
                    if(enddt.equals("2769091200"))
                    {
                        enddt="长期有效";
                        pur.keyvalue("enddt","");
                    }else{
                       enddt ="";
                    }
                %>
                <tr class="line"><td>截止时间：</td><td rssdate="<%pur.write("enddt");%>,yyyy-MM-dd" ><%=enddt%></td></tr>
                <tr class="line">
                    <td>公告内容：</td>
                    <td><%=pur.get("summary")%></td>
                </tr>
                <tr class="line">
                    <td>供应商资格：</td>
                    <td><%=pur.get("conditions")%></td>
                </tr>
                <tr><td>公司名称：</td><td><%pur.write("corpname");%></td></tr>
                <tr><td>联系人：</td><td><%pur.write("linkname");%></td></tr>
                <tr><td>联系电话：</td><td><%pur.write("phone");%></td></tr>
            </table>
        </div>
        <%@include file="/inc/js_all.html" %>
        <script src="/js/finding_details.js" type="text/javascript"></script>
        <script type="text/javascript" src="/purchase/js/dictdata.js"></script>
    </body>
</html>
